public class Sort {
    public boolean IsSorted(int a[])
    {
       int length=a.length;
       for(int i=0;i<length-1;i++)
       {
        if(a[i]>a[i+1])
        {
            return false;
        }
       }
       return true;
    }

    public void Exchange(int data[],int a,int b)
    {
        int c=data[b];
        data[b]=data[a];
        data[a]=c;
    }
    public void MySort(int data[])
    {
        
    }
}
